<?php
class AbiturientsPrioritet extends AppModel {

	var $name = 'AbiturientsPrioritet';
	var $validate = array(
		'prioritet_id' => array('numeric'),
		'abiturient_id' => array('numeric')
	);

	//The Associations below have been created with all possible keys, those that are not needed can be removed
	var $belongsTo = array(
		'Prioritet' => array(
			'className' => 'Prioritet',
			'foreignKey' => 'prioritet_id',
			'conditions' => '',
			'fields' => '',
			'order' => ''
		),
		'Abiturient' => array(
			'className' => 'Abiturient',
			'foreignKey' => 'abiturient_id',
			'conditions' => '',
			'fields' => '',
			'order' => ''
		)
	);

}
?>